package com.ywd.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ywd.platform.entity.DeviceEntity;
import com.ywd.platform.page.DevicePageDto;
import com.ywd.platform.vo.DeviceVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/8/17
 */
@Mapper
public interface DeviceMapper extends BaseMapper<DeviceEntity> {

    List<DeviceVo> getDevicePage(@Param("dto") DevicePageDto dto);

    DeviceVo getDeviceDetails(@Param("id") Integer id);
}
